package com.example.web_project_xianyu.entity;

import lombok.Data;

@Data
public class Comment {
    public int productId;
    public String comment;
    public int userId;
    public String time;
    public String userName;
    public Comment(int productId,int userId,String comment, String time,String userName){
        this.productId=productId;
        this.userId=userId;
        this.comment=comment;
        this.time=time;
        this.userName=userName;
    }
}
